﻿using Huirui.Cavan.Domain.MainBoundedContext.SearchModule;
using Huirui.Cavan.Domain.MainBoundedContext.SystemModule;
using Huirui.Cavan.Presentation.Seedwork;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace Huirui.Cavan.Presentation.ViewModel.SystemModule
{
    public class DepartmentViewModel : EntityModel<Department, string, DepartmentSearch>, IDepartmentViewModel
    {
        public string Purpose { get; set; }
        public string NoPrefixId { get; set; }
    }

    public class DepartmentJson : BaseJson<string>
    {
        public string CorporationCode
        {
            get;
            set;
        }

        public string Name
        {
            get;
            set;
        }

        public string Remark
        {
            get;
            set;
        }

        public string SuperiorDepartment { get; set; }
    }

    public class DepartmentJsonViewModel : JsonViewModel<DepartmentJson>
    {
    }


}
